blob: feb86a3b1d37953141e07aae2ed2b8c58b7b7c3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
import Page from '$layouts/Page.astro';
import localeStaticPaths from '$lib/localeStaticPaths';
import translate from '$i18n/translate';
import tPage from '$i18n/translations/pages/scotsounGallery';
import type Locale from '$types/Locale';
import ScotsounCdGallery from '$components/ScotsounCdGallery.astro';
export async function getStaticPaths() {
return localeStaticPaths;
}
const locale = Astro.params.locale as Locale;
const t = translate(locale);
---
<Page locale={locale} title={t(tPage, { key: 'title' })}>
<section class="section--full-width">
<h1>Scotsoun</h1>
<ScotsounCdGallery locale={locale} />
</section>
</Page>
|